/**
 * 查看费用
 * 
 */
function viewFund(){
	var rows = $( "#manage-fund" ).jqGrid( 'getGridParam', 'selarrrow' );
	var rowsData;
	// 判断是否选中行
	if ( rows.length > 0 ) {
		rowsData = $( "#manage-fund" ).jqGrid( "getRowData", rows[0] );
		var id=rowsData.id;
		$("#uid").val(id);
	$( "body" ).prepend( '<div class="quanping" ></div>' );
	$( ".quanping" ).after( '<div id="fund-view"></div>' );
	$( "#fund-view" ).load( "../manage/view/viewFund.html?id="+id, null, 
		function( response, status, xml ) {
			if ( status === "success" ) {
				$( ".quanping" ).height( $(document).height() );
				$( "#fund-view > .preview-frame" ).fadeIn( "normal" );
			} else {
				alert( "查看失败！" );
				$("#fund-view, .quanping").remove();
			}
		}
	);
}else{
	alert("请选择一行!");
	}
}
